#! /bin/sh
yum install -y crontabs vixie-cron sendmail sendmail-cf m4
echo "MAILTO=tanyong@famoney.cn
0 */5 * * * supervisorctl -c /etc/supervisord.conf restart ssr
0 0 */1 * * /sbin/reboot" > /var/spool/cron/root
crontab -l